<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> 
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>

<trans:initPage module="viewalerts" />
<logic:notPresent name="alerts">
<trans:showPageMessage label="viewalerts.youhavenoalerts" />.
</logic:notPresent>


<logic:notPresent name="alerts">
<trans:showPageMessage label="viewalerts.noalerts" /></logic:notPresent>
<logic:present name="alerts">

<logic:iterate scope="request" name="alerts" id="alert" length="7">

<logic:notPresent name="alert" property="read">

<tr>

 <td bgcolor="#FFFFFF">
<b>

<html:link page="/alert.do?mode=view" name="alert" property="params">



<logic:equal name="alert" property="alertType" value="1">
<trans:showPageMessage label="viewalerts.approvalalert" /> : <trans:showPageMessage label="viewalerts.approve" />
</logic:equal>
<logic:equal name="alert" property="alertType" value="2">
<trans:showPageMessage label="viewalerts.filteralertfor" />
</logic:equal>
<logic:equal name="alert" property="alertType" value="3">
<trans:showPageMessage label="viewalerts.messagealertfor" />
</logic:equal>

	<logic:equal name="alert" property="sourceType" value="1">
<trans:showPageMessage label="viewalerts.aproject" /></logic:equal>
	<logic:equal name="alert" property="sourceType" value="2">
<trans:showPageMessage label="viewalerts.anorg" />
	</logic:equal>
	<logic:equal name="alert" property="sourceType" value="3">
<trans:showPageMessage label="viewalerts.aperson" />
	</logic:equal>



 #<bean:write name="alert" property="eventId"/>

</html:link>

</b>

</td>

	</tr>

</logic:notPresent>

</logic:iterate>

<tr align=right> <td bgcolor="#FFFFFF">
<html:link page="/alerter.do?mode=list">
<trans:showPageMessage label="viewalerts.editmyalerters" />
</html:link>
|
<html:link page="/alert.do">
<trans:showPageMessage label="viewalerts.viewlink" />
</html:link>

</td></tr><trans:showPageMessage label="translator.showhiddentags"/>
</logic:present>

